package cn.mazexal.exambg.models.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
/**
 * 用户收藏
 *
 */
@Data
@TableName(value = "user_collect")
public class UserCollectDO implements Serializable {

	/**
	 * 
	 */
	@TableId(value = "id", type = IdType.INPUT)
	private Long id;

	/**
	 * 
	 */
	@TableField(value = "user_id")
	private Long userId;

	/**
	 * 题库ID
	 */
	@TableField(value = "exam_bank_id")
	private Long examBankId;

	@TableField(value = "question_id")
	private Long questionId;

	@TableField(value = "create_time")
	private Long createTime;

	@TableField(value = "top_menu_id")
	private Long topMenuId;

	@TableField(value = "menu_id")
	private Long menuId;
}